/**
 * Created with JetBrains PhpStorm.
 * User: zhenzhen
 * Date: 12-9-16
 * Time: 下午3:47
 * To change this template use File | Settings | File Templates.
 */
/*
    function copyrightworks(obj){
    if(obj.attr('checked')=='checked'){
        $('#copyrightselect').attr('disabled',false)
    }else{
        $('#copyrightselect').attr('disabled','disabled');
    }
}
*/

function copyrightworks(obj){
    //var obj=$('#copyrightworks');
    if(obj.attr('checked')=='checked'){
        $('#copyrightselect').attr('disabled',false)
    }else{
        $('#copyrightselect').attr('disabled','disabled');
    }
}
$('#copyrightworks').click(function(){

    copyrightworks($(this))
})
